package com.ruoyi.web.core.receive;

import com.github.misterchangray.core.annotation.MagicClass;
import com.github.misterchangray.core.annotation.MagicField;
import com.github.misterchangray.core.enums.ByteOrder;

@MagicClass(byteOrder = ByteOrder.LITTLE_ENDIAN)
public class DownloadReceiveMagicDto {

    @MagicField(order = 1, size = 12)
    private String m_ucFileNO;//文件编号

    @MagicField(order = 2, size = 2)
    private short m_uiPackageIndex;//请求下载包索引

    @MagicField(order = 3, size = 2)
    private short m_uiPackageNum;//包总数

    @MagicField(order = 4)
    private int m_uiPackageSize;//拆包大小

    public int getM_uiPackageSize() {
        return m_uiPackageSize;
    }

    public void setM_uiPackageSize(int m_uiPackageSize) {
        this.m_uiPackageSize = m_uiPackageSize;
    }

    public String getM_ucFileNO() {
        return m_ucFileNO;
    }

    public void setM_ucFileNO(String m_ucFileNO) {
        this.m_ucFileNO = m_ucFileNO;
    }

    public int getM_uiPackageIndex() {
        return m_uiPackageIndex;
    }

    public void setM_uiPackageIndex(short m_uiPackageIndex) {
        this.m_uiPackageIndex = m_uiPackageIndex;
    }

    public short getM_uiPackageNum() {
        return m_uiPackageNum;
    }

    public void setM_uiPackageNum(short m_uiPackageNum) {
        this.m_uiPackageNum = m_uiPackageNum;
    }
}
